package com.ruoyi.xzs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.TreeEntity;

/**
 * 知识点树对象 x_knows_tree
 * 
 * @author li
 * @date 2023-03-14
 */
public class KnowsTree extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 知识点根id */
    @Excel(name = "编号")
    private Long id;

    /** 知识点详情 */
    @Excel(name = "知识点详情")
    private String knowName;

    /** 父节点 */
    private Long knowId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setKnowName(String knowName) 
    {
        this.knowName = knowName;
    }

    public String getKnowName() 
    {
        return knowName;
    }
    public void setKnowId(Long knowId) 
    {
        this.knowId = knowId;
    }

    public Long getKnowId() 
    {
        return knowId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("Id", getId())
            .append("knowName", getKnowName())
            .append("knowId", getKnowId())
            .toString();
    }
}
